<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../store/icons/icons.css"/>
        <link rel="stylesheet" type="text/css" href="../store/extjs/resources/css/ext-all.css"/>
 	    <script type="text/javascript" src="../store/extjs/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="../store/extjs/ext-all.js"></script>
        <script type="text/javascript" src="../store/extjs/src/locale/ext-lang-zh_CN.js"></script>
		<script type="text/javascript" src="../store/comp/xcomp/XMsg.js"></script>
      <style type="text/css">
             .pos{
			    color:red;
			    position:absolute;
				bottom:0px;
				right:0px;
			 }
	  </style>

	  <script language="JavaScript">
	  <!--
	                 XWin=Ext.extend(Ext.Window,{
					     constructor:function(config){
						     Ext.apply(this,config);
						     XWin.superclass.constructor.call(this);
						 },
					     beforeShow:function(){
						      delete this.el.lastXY;
								delete this.el.lastLT;
								if(this.x === undefined || this.y === undefined){
									var xy = this.el.getAlignToXY(this.container, 'br-br');
									var pos = this.el.translatePoints(xy[0], xy[1]);
									this.x = (this.x === undefined? pos.left : this.x)-7;
									this.y = (this.y === undefined? pos.top : this.y)-10;
								}
								this.el.setLeftTop(this.x, this.y);

								if(this.expandOnShow){
									this.expand(false);
								}

								if(this.modal){
									Ext.getBody().addClass('x-body-masked');
									this.mask.setSize(Ext.lib.Dom.getViewWidth(true), Ext.lib.Dom.getViewHeight(true));
									this.mask.show();
								}
						 }
					 });
	  //-->
	  </script>

    <script language="JavaScript">
    <!--
              Ext.onReady(function(){
	 
	 //var msg=Ext.fly("msg");
	// var width=0;
	// var height=300;
    // msg.setSize(width,height,true);
	 //Ext.fly('content').setSize(width,height,true);
	// msg.position("absolute",3000,Ext.getBody().getRight(true)-100-width,Ext.getBody().getBottom(true)-70);


       var win=new Thang.XMsg().show();

	    new Ext.Viewport({
		    layout:'border'
		});
        
           //Ext.XMsg.alert('aa','bbb');
		 
            
     });
    //-->
    </script>

</head>

<body>
          <div id="msg" class="msg" style="border:1px solid black">
             <div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div>
			 <div class="x-box-ml"><div class="x-box-mr"><div class="x-box-mc"><h3>aaaaa</h3>dddddddddd</div></div></div>
			 <div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>
		 </div>



 
  
      <div id="a"></div>
</body>
</html>
